package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.library.common.GeoPoint;
import com.njtoyo.taxi.admin.mapper.master.enums.DesignatedRideState;
import com.njtoyo.taxi.admin.mapper.master.enums.RideStateState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author mdf
 * @title: DesignatedCallRideState
 * @description: TODO
 * @date 2024/3/6 14:04
 */
@Data
public class DesignatedCallRideState implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long rideId;

    @ApiModelProperty(value = "程类型 0:pick_up[司机已接单],1:in_area[在圈内],2:start[行程已开始],3:end[行程已结束] 4:支付成功")
    private DesignatedRideState state;

    private GeoPoint locate;

    private Date createdAt;
}
